package com.LCQ.crm.workbench.service;

import com.LCQ.crm.vo.PaginationVo;
import com.LCQ.crm.workbench.domain.Activity;
import com.LCQ.crm.workbench.domain.ActivityRemark;

import java.util.List;
import java.util.Map;

public interface ActivityService {
    int add(Activity activity);
    List<Map> getPage(int pageNum,int pageSize);
    Map getGlobal();
    PaginationVo<Activity> getPageList(Map paraMap);
    boolean delete(String[] ids);
    Activity getActivityById(String id);
    int update(Activity activity);
    Activity getDetail(String id);
    List<ActivityRemark> getRemarkByAId(String id);
    boolean deleteRemark(String id);

    boolean updateRemark(ActivityRemark activityRemark);

    boolean addRemark(ActivityRemark activityRemark);
}
